package com.work.work.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("t_progress")
@Schema(description = "进度实体")
public class Progress {
    @TableId(type = IdType.AUTO)
    @Schema(description = "进度ID")
    private Integer id;

    @Schema(description = "任务ID")
    private Integer taskId;

    @Schema(description = "进度百分比")
    private BigDecimal progressPercentage;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}